package cn.iocoder.yudao.module.knowledge.controller.admin.tree.vo;


import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 知识库结构树列表 Request VO")
@Data
public class KnowledgeTreeListReqVO {

    @Schema(description = "数据创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "上级节点id", example = "17962")
    private Long parentId;

    @Schema(description = "节点名称", example = "芋艿")
    private String nodeName;

    @Schema(description = "排序", example = "1")
    private int  orderIndex;
}